﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using System.Collections.Generic;

public partial class Users_MyOrder : System.Web.UI.Page
{
    protected void Page_PreInit(object sender, EventArgs e)
    {
        Page.Theme = BLL.Common.GetWSThemes();
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        Page.Title = BasePage.WebTitle;
        if (!HttpContext.Current.User.Identity.IsAuthenticated)
        {
            Response.Redirect("Login.aspx");
        }
        if (!IsPostBack)
        {
            BindDropOrderSuggestion();
        }
    }
    private void BindDropOrderSuggestion()
    {
        DDL_Idea.DataSource = new BLL.STATETYPE().GetAllList();
        DDL_Idea.DataTextField = "ST_NAME";
        DDL_Idea.DataValueField = "ST_CODE";
        DDL_Idea.DataBind();

        ListItem li = new ListItem();
        li.Text = "全部";
        li.Value = "-1";
        DDL_Idea.Items.Insert(0, li);
    }
    
}
